package org.gim.entity.dto.file;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author lml
 * @since 2025-07-23
 */
@TableName("picture_file")
public class PictureFile implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "picture_file_id", type = IdType.AUTO)
    private Long pictureFileId;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 创建用户id
     */
    private Long createUserId;

    /**
     * 扩展名
     */
    private String extendName;

    /**
     * 文件名
     */
    private String fileName;

    /**
     * 文件大小
     */
    private Long fileSize;

    /**
     * 文件url
     */
    private String fileUrl;

    /**
     * 修改时间
     */
    private String modifyTime;

    /**
     * 修改用户id
     */
    private Long modifyUserId;

    /**
     * 存储类型
     */
    private Integer storageType;

    /**
     * 用户id
     */
    private Long userId;

    public Long getPictureFileId() {
        return pictureFileId;
    }

    public void setPictureFileId(Long pictureFileId) {
        this.pictureFileId = pictureFileId;
    }
    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }
    public String getExtendName() {
        return extendName;
    }

    public void setExtendName(String extendName) {
        this.extendName = extendName;
    }
    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }
    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }
    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }
    public String getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }
    public Long getModifyUserId() {
        return modifyUserId;
    }

    public void setModifyUserId(Long modifyUserId) {
        this.modifyUserId = modifyUserId;
    }
    public Integer getStorageType() {
        return storageType;
    }

    public void setStorageType(Integer storageType) {
        this.storageType = storageType;
    }
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "PictureFile{" +
            "pictureFileId=" + pictureFileId +
            ", createTime=" + createTime +
            ", createUserId=" + createUserId +
            ", extendName=" + extendName +
            ", fileName=" + fileName +
            ", fileSize=" + fileSize +
            ", fileUrl=" + fileUrl +
            ", modifyTime=" + modifyTime +
            ", modifyUserId=" + modifyUserId +
            ", storageType=" + storageType +
            ", userId=" + userId +
        "}";
    }
}
